<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<html>
<head>
    <meta charset="UTF-8">
    <title>智能报修系统——管理人员1</title>
    <link rel="stylesheet" type="text/css" href="<%= request.getContextPath()%>resources/css/rightDiv.css"/>
    <link rel="stylesheet" type="text/css" href="<%= request.getContextPath()%>resources/css/manager.css"/>
    <!--引入交互所需css-->
    <link rel="stylesheet" type="text/css" href="<%= request.getContextPath()%>resources/css/jNotify.jquery.css"/>
    <script src="<%= request.getContextPath()%>resources/js/manager.js" type="text/javascript" charset="utf-8"></script>
</head>
<body ng-app="managerApp">
<%System.out.println(basePath);%>

<!--头部开始-->
<div id="head">
    <div id="head_con">
        <p class="title">智能报修系统</p>
        <div class="phoneNum" ng-controller="servicenumCtrl">
            服务电话：
            <span id="servicenum">
					{{servicephone}}
				</span>
        </div>
    </div>

</div>
<!--头部结束-->
<!--左边开始-->
<div id="staffLeft">
    <div id="staffLeftCon">
        <!--管理人员的信息-->
        <div id="staffInfo">
            <!--姓名-->
            <p class="staffName">admin</p>
            <!--客服学号-->
            <!--<p class="staffNum">1506111111</p>-->
            <!--职位-->
            <p class="place">管理人员</p>
        </div>

        <style>
            #operation a:link,a:visited,a:hover{
                text-decoration: none;
                color:#4e7500;
            }
        </style>
        <div id="operation">
            <ul>
                <a href="/complainli"><li id="complainli"  >投诉管理 </li></a>
                <a href="/tiao1"><li id="createli" class="active"  >创建工单</li></a>
                <a href="/ordermanageli"><li id="ordermanageli">工单管理</li></a>
                <a href="/tiao2"> <li id="faultli" >故障分类管理</li></a>
                <a href="/totalorderli"><li id="totalorderli">工单统计报表</li></a>
                <a href="/yeji"><li id="performancesli">运维人员业绩</li></a>
                <a href="/worktypeli"><li id="worktypeli">运维人员管理</li></a>
                <a href="/guanli"><li id="websiteli" >网站管理</li></a>
            </ul>
        </div>
    </div>
</div>
<!--左边结束-->

<!--右边开始-->
<div id="pushOrdersRight">
    <div id="pushOrdersRight_con">

<%--class="turndiv" --%>
        <!--创建工单开始-->
        <div id="creatework" ng-controller="createCtrl" >

            <table>
                <tr>
                    <th colspan="2">特殊工单</th>
                </tr>
                <tr>
                    <td class="tds">联系人学工号：</td>
                    <td id="usernum"><input type="text" placeholder="150610100" ng-model="teacherinfo.gh"
                                            ng-blur="create_getuserinfo()"/></td>
                </tr>
                <tr>
                    <td class="tds">用户身份：</td>
                    <td id="userstatus"><input type="text" placeholder="教师" ng-model="teacherinfo.postion"/></td>
                </tr>
                <tr>
                    <td class="tds">姓名：</td>
                    <td id="username"><input type="text" placeholder="姓名" ng-model="teacherinfo.name"/></td>
                </tr>
                <tr>
                    <td class="tds">电话：</td>
                    <td id="userphone"><input type="text" placeholder="1830287878" ng-model="teacherinfo.phone"/></td>
                </tr>
                <tr>
                <td class="tds">地址：</td>
                <!--教师地址由管理员自己填写-->
                <td id="useraddress"><input type="text" placeholder="清雅居b" ng-model="teacherinfo.dept"/></td>
                </tr>
                <tr>
                    <!--故障分类-->
                    <td class="tds">故障：</td>
                    <td id="ques">
                        <select class="sort_con" ng-model="selectques" ng-change="chooseques()">
                            <option ng-repeat="x in ques track by $index" value="{{x}}">{{x}}</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td rowspan="2" colspan="2">
                        <input type="submit" name="submitdetails" id="submitdetails" value="提交"
                               ng-click="managersubmit()"/>
                    </td>
                </tr>
            </table>
        </div>
        <!--创建工单结束-->
    </div>
</div>
<!--右边结束-->

<div id="footer" class="footer">
    <p class="footerWord">版权所有&nbsp;四川旅游学院</p>
</div>
<!--引入交互所需文件-->
<script type="text/javascript" src="<%= request.getContextPath()%>resources/js/jquery-3.1.1.min.js"></script>

<script src="<%= request.getContextPath()%>resources/js/angular.min.js" type="text/javascript" charset="utf-8"></script>
<script src="<%= request.getContextPath()%>resources/js/managerController.js" type="text/javascript"   charset="utf-8"></script>
<script type="text/javascript" src="<%= request.getContextPath()%>resources/js/jNotify.jquery.js"></script>
</body>
</html>
